package com.example.ch8;

public class PersonDog {
	private String name;
	private Dog dog;

	public PersonDog() {

	}

	public PersonDog(String name, Dog dog) {
		this.name = name;
		this.dog = dog;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Dog getDog() {
		return dog;
	}

	public void setDog(Dog dog) {
		this.dog = dog;
	}

}
